package com.bird.generate.ddd.application.pl

import com.bird.generate.ddd.domain.vo.Field

/**
 * 聚合根实体
 */
data class AddAggregateRootRequest(
    //聚合根名称
    var name: String,
    //聚合根描述
    var description: String? = null,
    //聚合根英文名称(驼峰)
    var enName: String,
    //项目版本号
    var version: String,
    //所属module
    var moduleName: String,
    //所属项目
    var projectName: String,
    //包含值对象
    var valueObjects: List<AddValueObjectRequest> = emptyList(),
    //包含实体
    var entities: List<AddEntityRequest> = emptyList(),
    //创建人
    var creator: String,
    //项目包前缀
    var comPrefix: String = "com.zz",
    //支持多租户
    var multiTenant: Boolean,
    //字段
    var fields: List<Field>,
)

